package com.relytosoft.mizar.analyze.system.api.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * @author lj
 * @date 2022/5/24 17:12
 */
@ApiModel("AyAlarm")
public class AyAlarmDto {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    /**
     * 报警类型
     */
    @ApiModelProperty(value = "报警类型")
    private Integer alarmTypeId;

    /**
     * 报警源设备ID
     */
    @ApiModelProperty(value = "报警源设备ID")
    private String cameraId;

    /**
     * 报警源设备编码
     */
    @ApiModelProperty(value = "报警源设备编码")
    private String cameraCode;

    /**
     * 报警源设备名称
     */
    @ApiModelProperty(value = "报警源设备名称")
    private String cameraName;

    /**
     * 布控设防任务ID
     */
    @ApiModelProperty(value = "布控设防任务ID")
    private String taskId;

    /**
     * 布控设防任务名称
     */
    @ApiModelProperty(value = "布控设防任务名称")
    private String taskName;

    /**
     * 报警图片地址
     */
    @ApiModelProperty(value = "报警图片地址")
    private String alarmImg;

    /**
     * 报警时间
     */
    @ApiModelProperty(value = "报警时间")
    private LocalDateTime alarmTime;

    /**
     * 报警描述
     */
    @ApiModelProperty(value = "报警描述")
    private String remark;

    /**
     * 获得主键ID
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置主键ID
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获得报警类型
     */
    public Integer getAlarmTypeId() {
        return this.alarmTypeId;
    }

    /**
     * 设置报警类型
     */
    public void setAlarmTypeId(Integer alarmTypeId) {
        this.alarmTypeId = alarmTypeId;
    }

    /**
     * 获得报警源设备ID
     */
    public String getCameraId() {
        return this.cameraId;
    }

    /**
     * 设置报警源设备ID
     */
    public void setCameraId(String cameraId) {
        this.cameraId = cameraId;
    }

    /**
     * 获得报警源设备编码
     */
    public String getCameraCode() {
        return this.cameraCode;
    }

    /**
     * 设置报警源设备编码
     */
    public void setCameraCode(String cameraCode) {
        this.cameraCode = cameraCode;
    }

    /**
     * 获得报警源设备名称
     */
    public String getCameraName() {
        return this.cameraName;
    }

    /**
     * 设置报警源设备名称
     */
    public void setCameraName(String cameraName) {
        this.cameraName = cameraName;
    }

    /**
     * 获得布控设防任务ID
     */
    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    /**
     * 获得布控设防任务名称
     */
    public String getTaskName() {
        return this.taskName;
    }

    /**
     * 设置布控设防任务名称
     */
    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    /**
     * 获得报警图片地址
     */
    public String getAlarmImg() {
        return this.alarmImg;
    }

    /**
     * 设置报警图片地址
     */
    public void setAlarmImg(String alarmImg) {
        this.alarmImg = alarmImg;
    }

    public LocalDateTime getAlarmTime() {
        return alarmTime;
    }

    public void setAlarmTime(LocalDateTime alarmTime) {
        this.alarmTime = alarmTime;
    }

    /**
     * 获得报警描述
     */
    public String getRemark() {
        return this.remark;
    }

    /**
     * 设置报警描述
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "AyAlarmDto{" +
                "id=" + id +
                ", alarmTypeId=" + alarmTypeId +
                ", cameraId='" + cameraId + '\'' +
                ", cameraCode='" + cameraCode + '\'' +
                ", cameraName='" + cameraName + '\'' +
                ", taskId='" + taskId + '\'' +
                ", taskName='" + taskName + '\'' +
                ", alarmImg='" + alarmImg + '\'' +
                ", alarmTime=" + alarmTime +
                ", remark='" + remark + '\'' +
                '}';
    }
}
